<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/html">
<h:head>

<title>Insert title here</title>
</h:head>
<h:body>
   <f:view>
        <h:dataTable border="0" rules="all" value="#{eventCtrl.events}"
                var="p">
                <h:column>
                        <f:facet name="header">
                                <h:outputText value="eventcreator" />
                        </f:facet>
                        <h:outputText value="#{p.eventcreator}" />
                </h:column>
                <h:column>
                        <f:facet name="header">
                                <h:outputText value="indoor_outdoor" />
                        </f:facet>
                        <h:outputText value="#{p.indoor_outdoor}" />
                </h:column>
                 <h:column>
                        <f:facet name="header">
                                <h:outputText value="name" />
                        </f:facet>
                        <h:outputText value="#{p.name}" />
                </h:column>
                 <h:column>
                        <f:facet name="header">
                                <h:outputText value="place" />
                        </f:facet>
                        <h:outputText value="#{p.place}" />
                </h:column>
                
                
        </h:dataTable>
    </f:view>
</h:body>
</html>